package com.xh.amqp.controller;

import com.xh.amqp.service.ISmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Name SendMsgController
 * @Description
 * @Author wen
 * @Date 2019-07-11
 */
@RestController
public class SendMsgController {

    @Autowired
    private ISmsService smsService;

    @GetMapping("/test")
    public String test(){
        return smsService.sendMsg();
    }


}
